home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / os2bbs / doormax2.zip / DOORS.FAQ < prev    next >
Text File  |  1996-02-04  |  12KB  |  273 lines

  1.  
  2.    ╔════════════════════════════════════════════════════════════════════╗
  3.    ║█▓▒░      DOS DOORS RUNNING UNDER OS/2 AND MAXIMUS/2            ░▒▓█║
  4.    ╚════════════════════════════════════════════════════════════════════╝
  5.                        A suggestive document by:
  6.  
  7.                             Peter W. Lazenby
  8.                              The Back Door
  9.                           60 Starling Street
  10.                           Kitimat, BC V8C 1K5
  11.                                  Canada
  12.  
  13.                        Phone: (604) 632-4640 BBS
  14.                               (604) 632-4645 BBS
  15.                               (604) 632-4644 BBS (private node)
  16.                               (604) 632-4649 BBS (private node)
  17.                           (604) 632-4883 Voice
  18.  
  19.                            FidoNet 1:359/520
  20.                                    1:359/521
  21.                           
  22.                            Internet  peter.lazenby@backdoor.publink.com
  23.                                      http://www.sno.net/plazenby
  24.  
  25.     DISCLAIMER:
  26.  
  27.     This is one SysOp's approach to using running dos doors with
  28.     with Maximus/2 v3.xx (Max). It is not the only way, just the
  29.     way I do it. The ideas outlined herein are what I have found works
  30.     best for my purposes.
  31.  
  32.     You will find other approaches to the same ends in various other
  33.     documents and files. Give them all a try, and use whatever suits
  34.     your application.
  35.  
  36.     This document assumes a working knowledge of Maximus, and the
  37.     MECCA script language. It is in no way intended to be a tutorial
  38.     on the workings of same.
  39.  
  40.     I cannot promise that using these methods will be the answer for
  41.     you, nor can I guarantee that using these methods won't break your
  42.     system. I do know that everything described herein works as I have
  43.     outlined it on my system. To date, nothing bad has happened to my
  44.     setup.
  45.  
  46.     CONTENTS OF THIS ARCHIVE:
  47.  
  48.     DOORS.FAQ    - This document.
  49.  
  50.     MENUS.CTL    - A small portion of my menus.ctl file showing the
  51.                    door games sections.
  52.  
  53.     DROPFILE.ZIP - The dropfiles for The Back Door/2. These are intended
  54.                    primarily as an example, but if you wish to
  55.                    incorporate them into your own setup, please feel free
  56.                    to do so. The beginning of each one is commented to
  57.                    explain the difference in naming conventions. Note
  58.                    that I have only included the dropfiles that I
  59.                    actually use.
  60.  
  61.     BATFILES.ZIP - These are my working batch files. 
  62.  
  63.     CONFIG.ZIP   - My config.sys file (compressed into .zip format so as
  64.                    not to cause anyone undue problems).
  65.  
  66.     MECCAS.ZIP   - Mecca loaders for various reasons. Most should be
  67.                    self-explanatory.
  68.  
  69. This isn't really a FAQ... the question is how to run dos doors with
  70. Maximus/2. This is just one big answer (and it is only my solution...
  71. there are other methods, but I like to keep things simple).
  72.  
  73. Programs needed: Maximus/2 (redundant... if you didn't have Max/2 you
  74.                  probably wouldn't be reading this)
  75.  
  76.                  Ray Gwinn's Sio drivers. As of this writing, the
  77.                  current version is 1.53
  78.  
  79.                  Some doors (redundant again, I know)
  80.  
  81. First of all, install the Sio drivers. This is fairly painless... the
  82. install program will do most of the work for you. Next, edit your
  83. config.sys to add the proper com port definitions to the lines that were
  84. just added with the install program. The '-' parameter at the end of the
  85. example below is the important part for running dos doors... it allows
  86. dos to share the com port with OS/2. This MUST be the fourth parmater 
  87. for each com port. Example:
  88.  
  89. DEVICE=C:\SIO\SIO.SYS (COM1:38400,,,-) (COM2:38400,2F8,IRQ5:IRQ3,-,F) (COM3:3840
  90. 0,3E8,IRQ7:IRQ4,-,F) (COM4:38400,,,-,F)
  91.  
  92. (note that the above is all on one line)
  93.  
  94. You may want to add a line after the two sio lines (I've only shown the
  95. first of the two here) to install the fossil driver that comes with Sio
  96. (then again, you may not):
  97.  
  98. DEVICE=C:\SIO\VX00.SYS
  99.  
  100. I've found I prefer loading the fossil in this manner. True, it loads
  101. for every dos door, but most of them require a fossil anyway, and the
  102. ones that don't will allow the use of one (or say 'fossil not installed'
  103. for those games).
  104.  
  105. While we are on the subject of Sio drivers, there's a neat little trick
  106. that can be done with non-standard IRQ's within the Sio com port
  107. definitions themselves, rather than having to muck with door
  108. configuration files and the like. I run 4 nodes, with two running
  109. on standard IRQs. 
  110.  
  111. The IRQx:IRQx is like the old dos 'assign' command. Any dos program
  112. that's looking for standard IRQ's will get them, thanks to Sio. See the
  113. enclosed config.zip (config.sys) for working examples.
  114.  
  115. Next, you have to edit your dropfiles. The 'canned' versions that come
  116. with Max won't work with OS/2. These dropfiles have the line:
  117.  
  118. [write]COM%P
  119.  
  120. If you are running a single node system, you just have to replace %P
  121. with the actual com port number, and it'll work:
  122.  
  123. [write]COM2 [comment The bbs uses com port 2 only]
  124.  
  125. If you're multi-node, there's two options. If you are lucky enough to
  126. have all com ports corresponding to task numbers, replace the %P with %k
  127. (that's a lower case k) and it'll work. If your task and com port
  128. numbers differ, use the following example:
  129.  
  130. [iftask]1 [write]COM2 [comment These are my com ports, yours will]
  131. [iftask]2 [write]COM4 [comment probably differ]
  132. [iftask]3 [write]COM3
  133. [iftask]4 [write]COM1 
  134. [iftask]5 [write]COM0 [comment node 5 is my local node]
  135.  
  136. Do this with all dropfiles you plan on using (dorinfo.mec and
  137. doorsys.mec for sure... these are the two most used), and meccap them.
  138.  
  139. Your menus.ctl only needs to call the door's batch file (as is usually
  140. provided by example with the door). Here's a snippet from my menus.ctl:
  141.  
  142. NoDsp    Display_File    Misc\doorsys      Disgrace "1"
  143.          Xtern_Dos       batch\Usurper.bat Disgrace "1:Usurper"
  144.  
  145. (I keep all my batch files in d:\max\batch for easy access) Re-siltp max
  146. and you should be all set.
  147.  
  148. I've also found that some doors need some special treatment, so I use a 
  149. mecca loader in these cases (I imagine it could also be done with MEX, but
  150. to date, I've not looked into doing any MEX stuff... more of that laziness 
  151. <G>). Anyway, some doors don't check for the presence of another player online
  152. and are not multi-node, so I create a mecca loader to write an 'inuse.flg' in 
  153. the door's directory, and check for the presence of same before allowing a
  154. user into the door. Also, I have some games that are restricted to only 
  155. certain users, so I use a mecca to check for a key before allowing access.
  156. Lastly, I have had a problem in the past where a user would enter a door 
  157. just before another node did the maintenance, and the result was not a 
  158. pretty sight. Anyway, the MECCAS.ZIP file included covers all these bases.
  159.  
  160. If anyone finds any errors or omissions, please let me know and I'll fix
  161. up this FAQ wannabe.
  162.  
  163. List of doors that are currently running for me (or were running at one
  164. time or another):
  165.  
  166. 2151                    Majyk Empires
  167. ArrowBridge                MiniBBS
  168. Assassin                Mad King's Dungeon
  169. Axe and Fang                Outpost Trader
  170. Business Cards Online            Galactic Overlord
  171. Barren Realms Elite            Rip Sweeper
  172. Carribean Contraband            Rip Puzzle
  173. Jet Combat                RipVersi
  174. BBS Crash                Castle Seige
  175. Double Solitaire            Spiked!
  176. Diamond Dice                Star System Space
  177. Domain DataLink                Swords of the Lost
  178. Dragon's Yen                Planets: The exploration of space
  179. Dr. Dread                The Pit (not the new one)
  180. Excalibur                Thunder Valley
  181. Fileit File request door        The Lost Lands
  182. Future Runner                Tracker
  183. Godfather of Crime            Ultimate Universe
  184. Mines of Gorr                Usurper
  185. iMMortal                VGA Planets
  186. Jewel Thief                Don't wake the Sysop
  187. Lords of the Irongate            Global War
  188. Legend of the Red Dragon        Yahtzee (Triple Yahtzee)
  189. LORE                                    Tradewars 2002 b7
  190. Falcon's Eye                            Battle of the Arts
  191. Primal Chaos                            Zatij Inc.
  192. The Pit (the new one)                   Exitilus
  193. Across the Wire                         Dragon's Claw
  194. Hubble Space Telescope                  Vampire Knights
  195. Vampires: Children of Darkness          Simon Sez
  196. Don't wake the Sysop                    Spaceship of Death
  197.  
  198. List of doors that I can't get to work under OS/2 (any help
  199. would be appreciated... about half of these are the registered versions)
  200.  
  201. Tradewars 2002       - I can't get this one to do anything but lock up
  202.                        the system - both the B5 version, and the one prior
  203.                        that required a different registration code (yup...
  204.                        I have registrations for both versions). 
  205.                        *UPDATE* Tradwars 2002 B7 works just fine :)
  206. Thabean Knights      - also wants com 1
  207. Operation Office     - May work for you, as a fellow sysop up here is
  208.                        running it successfully. This one quit on my as
  209.                        soon as I applied the registration code. 
  210. Smurf Combat         - Same thing... registered it and it quit, but the
  211.                        other sysop is running it no problem.
  212. Cripple Smash        - I forget why... maybe it does work.
  213. The Simpsons         - same thing.
  214. Trevor Herndon igms  - They all want com1. I sent a netmail to Mr. Herndon
  215.                        regarding this, but got back a rather snotty reply
  216.                        about how he doesn't program for OS/2. I didn't want
  217.                        him to, as the majority of dos doors seem to be 
  218.                        functioning quite nicely for me...
  219.     FOOTNOTES:
  220.  
  221.     I've tried to keep things as simple and straight forward as
  222.     possible, but I've had plenty of experience running dos doors
  223.     with Maximus/2, so I may have made some assumptions that
  224.     could cause confusion. If you do need any help, feel free to drop
  225.     me a note, either Netmail @ 1:359/520, or in the Fido MUFFIN, MECCA, 
  226.     or OS2BBS echos (which I read daily), or you can call my
  227.     BBS - The Back Door/2 - (604) 632-4640 Node 1
  228.                             (604) 632-4645 Node 2
  229.                             (604) 632-4644 Node 3 (private, but you can
  230.                             log on to this node using the name 'visiting
  231.                             sysop' and the password 'guest'. However, if
  232.                             you do call node 3, you must leave me a
  233.                             message stating who you were, and what board
  234.                             you run. Otherwise I'll have to remove the
  235.                             guest account. I have enough problems with
  236.                             users trying to gain advantage in the door
  237.                             games by trying to use alternate accounts.
  238.                             (604) 632-4649 Node 4 (same restrictions as node 3)
  239.  
  240.     or send me internet e-mail at peter.lazenby@backdoor.publink.com
  241.  
  242.     I have spent a great deal of time and effort producing this
  243.     document. If you find it of use, please let me know. I'd like to
  244.     feel that my efforts have not been wasted.
  245.  
  246.     If you have any comments or suggestions pertaining to this document
  247.     or the example files, please forward same to me.
  248.  
  249.     SPECIAL THANKS TO:
  250.  
  251.     My loving wife for not ragging on me too much about the hours I
  252.     spend at the keyboard.
  253.  
  254.     The users of The Back Door/2 for putting up with my experiments
  255.     without too much complaint.
  256.  
  257.     Scott Dudley for the best BBS package on the market today, namely
  258.     Maximus/2-CBCS v3.0x
  259.  
  260.     The folks at IBM for developing OS/2 without which, I would not have
  261.     been able to run multi-line.
  262.  
  263.     All the door authors who have brought so much pleasure to my users.
  264.  
  265.     My apologies to anyone whom I may have overlooked. There have been
  266.     so many people involved in my experimenting that it's easy to
  267.     overlook a few.
  268.  
  269.     *** This document, and the suggestions contained within are the
  270.     sole property of Peter Lazenby. Permission is granted to anyone
  271.     who wishes to use this document to aid in the implementing of dos
  272.     doors with Maximus/2.
  273.